<?php global $woo_options; ?>

	<?php if(is_home()) { ?>
    	<?php include 'home-bottom-content.php' ; ?>
    <?php } ?>

	<?php
		$total = $woo_options[ 'woo_footer_sidebars' ]; if (!isset($total)) $total = 4;
		if ( ( woo_active_sidebar( 'footer-1') ||
			   woo_active_sidebar( 'footer-2') ||
			   woo_active_sidebar( 'footer-3') ||
			   woo_active_sidebar( 'footer-4') ) && $total > 0 ) :

  	?>
	<div id="footer-widgets" class="col-full col-<?php echo $total; ?>">

		<?php $i = 0; while ( $i < $total ) : $i++; ?>
			<?php if ( woo_active_sidebar( 'footer-'.$i) ) { ?>

		<div class="block footer-widget-<?php echo $i; ?>">
        	<?php woo_sidebar( 'footer-'.$i); ?>
		</div>

	        <?php } ?>
		<?php endwhile; ?>

		<div class="fix"></div>

	</div><!-- /#footer-widgets  -->
    <?php endif; ?>

	<div id="footer">
    
    	<div class="footerbluebar">
        	<ul>
            	<li><a href="/../sitemap.xml">Sitemap</a></li>
                <li><a href="/../affiliate-program.html">Affiliate Program</a></li>
                <li><a href="/../wholesale-dropshipping.html">Wholesale &amp; Dropshipping</a></li>
                <li><a href="/../customer-service.html">Customer Service</a></li>
                <li><a href="/../terms-and-conditions.html">Terms &amp; Conditions</a></li>
                <li><a href="/../privacy-policy.html">Privacy Policy</a></li>
                <li><a href="/../contact-us.html">Contact Us</a></li>
                <li><a href="/../link-us.html">Link To Us</a></li>
                <li><a href="/../news-and-press-releases.html">Press</a></li>
            </ul>
        </div>
        <div class="footerwhitebar">
        	<img src="/../wp-content/themes/woostore/images/secure.jpg" alt="Secure Online Shopping" style="margin-bottom:10px; margin-right:20px;" /> <img src="/../wp-content/themes/woostore/images/siliconsolarbbbarating.jpg" alt="Silicon Solar BBB A+ Rating" style="margin-bottom:10px;height:50px;" />
            <p><strong>We Ship Worldwide:</strong> New York | California | Florida | Texas | New Mexico | New Jersey | North Carolina | Beijing | United Kingdom | France | Canad</p>
        	<p><strong>Call Us Toll-Free Today:</strong> 1.800.786.0329 | Hours: M-F 8am to 530pm EST | Visit Our Solar Energy Store</p>
        </div>
        <div class="footergreybar">
        	<h3 class="widget-title">SILICON SOLAR CUSTOMERS &amp; PARTNERS</h3>
        	<div class="footergreybarleft">
            	<ul style="padding-right:20px;">
                	<li>:: Yale University (Solar Panel System)</li>
					<li>:: United States Army (Solar Sign Lighting)</li>
					<li>:: Hoffman Air Force Base (Solar Cells)</li>
					<li>:: University at Buffalo (Solar Boat Team)</li>
					<li>:: Texas A&M University (Solar Car Team)</li>
					<li>:: Sidney High School (Solar Hot Water)</li>
					<li>:: Richard Stockton College (Solar Hot Water)</li>
					<li>:: Wisconsin Technical Schools (Solar Hot Water</li>
                </ul>
                <ul>
                	<li>:: Brookhaven National Laboratory (Small Solar Power Systems)</li>
					<li>:: Kennedy Space Center (Solar Lights & Educational Kits)</li>
					<li>:: Arizona Housing District (10kw Solar Panel Array, Solar Lights)</li>
					<li>:: US Environmental Protection Agency (Solar Lights)</li>
					<li>:: Cornell University (Solar Thermal Heating)</li>
					<li>:: Landscape Maintenance Services (Solar Sign Lighting)</li>
					<li>:: Fort Hood US Army Base (Solar Hot Water)</li>
					<li>:: Moody US Air Force Base (Solar Hot Water)</li>
                </ul>
            </div>
            <div class="footergreybarright">
            	<img src="/wp-content/themes/woostore/images/solar-partners.jpg" alt="Silicon Solar Partners" style="max-width:100%;" />
            </div>
            <div style="width:100%;height:0px;clear:both;"></div>
        </div>
        <div class="footerwhitebartwo">
        	<div class="footerwhitebartwoblock">
            	<h3>About Us</h3>
                <ul>            	
					<li><a href="/../company-information.html">Company Information</a></li>
    				<li><a href="/../sitemap.html">Sitemap</a></li>
    				<li><a href="/../silicon-solar-customer-satisfaction-guaranteed.php">Satisfaction Guarantee</a></li>
    				<li><a href="/../news-and-press-releases.html">Company News</a></li>
    				<li><a href="/../press-guide.html">Press Guide</a></li>
                </ul>
            </div>
            <div class="footerwhitebartwoblock">
            	<h3>Customer Service</h3>
                <ul>
                	<li><a href="/../contact-us.html">Contact Us</a></li>
    				<li><a href="/../no-hassle-returns.html">No Hassle-Returns</a></li>
    				<li><a href="/../sales-support.html">Sales Support</a></li>
    				<li><a href="/../technical-support.html">Technical Support</a></li>
                                <li><a href="/../silicon-solar-document-database/">Document Database</a></li>
                </ul>
            </div>
            <div class="footerwhitebartwoblock">
            	<h3>Orders &amp; Shipping</h3>
                <ul>
                	<li><a href="/../order-status.html">Order Status</a></li>
					<li><a href="/../ordering.html">Ordering</a></li>
					<li><a href="/../shipping-rates-and-delivery-times.html">Shipping Rates & Times</a></li>
					<li><a href="/../wholesale-dropshipping.html">Wholesale & Dropshipping</a></li>
					<li><a href="/../affiliate-program.html">Affiliate Program</a></li>
                </ul>
            </div>
            <div class="footerwhitebartwoblock">
            	<h3>Terms &amp; Policies</h3>
                <ul>
                	<li><a href="/../terms-and-conditions.html">Terms & Conditions</a></li>
					<li><a href="/../privacy-policy.html">Privacy Policy</a></li>
					<li><a href="/../safe-and-secure-shopping.html">Safe & Secure Shopping</a></li>
                </ul>
            </div>
            <div class="footerwhitebartwoblock footerwhitebartwoblock">
            	<h3>Our Customers</h3>
                <ul>
                	<li><a href="/../business-and-government-sales.html">Commercial Sales</a></li>
					<li><a href="/../business-and-government-sales.html">Government Sales</a></li>
					<li><a href="/../wholesale-dropshipping.html">Wholesale & Dropshipping</a></li>
					<li><a href="/../affiliate-program.html">Affiliate Program</a></li>
                </ul>
            </div>
            <div style="width:100%;height:0px;clear:both;"></div>
            <div style="width:100%;height:0px;clear:both;margin-bottom:0px;"></div>
            <table width="100%" cellpadding="0" cellspacing="0" border="0" style="font-size:12px;margin-bottom:-20px;border:0px;">
            	<tr>
                	<td style="width:25%;text-align:center;border-right:0px;border-bottom:0px;border-left:0px;border-top:0px;margin:0px;">
                    	<p style="margin-bottom:5px;"><strong>Bainbridge, NY Office</strong></p>
                    	<p style="font-weight:strong;margin-bottom:10px;font-style:italic;">Integrated Products Division</p>
                        <p style="line-height:16px;"><strong>Silicon Solar</strong><br />
                        2917 State Hwy 7<br />
                        Bainbridge, NY 13733<br />
                        P: 1.800.786.0329</p>
                    </td>
                    <td style="width:25%;text-align:center;border-right:0px;border-bottom:0px;border-left:0px;border-top:0px;margin:0px;">
                    	<p style="margin-bottom:5px;"><strong>Binghamton, NY Office</strong></p>
                        <p style="line-height:16px;"><strong>Silicon Solar</strong><br />
                        56 Broome Corporate Pkwy<br />
                        Binghamton, NY 13748<br />
                        P: 1.800.786.0329</p>
                    </td>
                    <td style="width:25%;text-align:center;border-right:0px;border-bottom:0px;border-left:0px;border-top:0px;margin:0px;">
                    	<p style="margin-bottom:5px;"><strong>San Diego, CA Office</strong></p>
                        <p style="line-height:16px;"><strong>Silicon Solar</strong><br />
                        4993 Niagara Ave<br />
                        San Diego, CA 92107<br />
                        P: 1.800.786.0329</p>
                    </td>
                    <td style="width:25%;text-align:center;border-right:0px;border-bottom:0px;border-left:0px;border-top:0px;margin:0px;">
                    	<p style="margin-bottom:5px;"><strong>Sacramento, CA Office</strong></p>
                        <p style="line-height:16px;"><strong>Silicon Solar</strong><br />
                        148 Maple St, Suite D2<br />
                        Auburn, CA 95603<br />
                        P: 1.800.786.0329</p>
                    </td>
                </tr>
            </table>
        </div>
        </div>

		<div class="col-full" style="border-top:#cccccc 1px solid;padding-top:20px;">
		<div id="copyright" class="col-left">
		<?php if( $woo_options[ 'woo_footer_left' ] == 'true' ) {

				echo stripslashes( $woo_options['woo_footer_left_text'] );

		} else { ?>
			<p><?php bloginfo(); ?> &copy; <?php echo date( 'Y' ); ?>. <?php _e( 'All Rights Reserved.', 'woothemes' ); ?></p>
		<?php } ?>
		</div>

		<div id="credit" class="col-right">
        <?php if( $woo_options[ 'woo_footer_right' ] == 'true' ){

        	echo stripslashes( $woo_options['woo_footer_right_text'] );

		} else { ?>
			
		<?php } ?>
		</div>
        </div>

	</div><!-- /#footer  -->
    
    </div><!--/#container-->

</div><!-- /#wrapper -->

<?php wp_footer(); ?>
<?php woo_foot(); ?>

<script>
(function(doc, script) {
  var js, 
      fjs = doc.getElementsByTagName(script)[0],
      frag = doc.createDocumentFragment(),
      add = function(url, id) {
          if (doc.getElementById(id)) {return;}
          js = doc.createElement(script);
          js.src = url;
          id && (js.id = id);
          frag.appendChild( js );
      };
      
    // Google+ button
    add('http://apis.google.com/js/plusone.js');
    // Facebook SDK
    add('//connect.facebook.net/en_US/all.js#xfbml=1&appId=200103733347528', 'facebook-jssdk');
    // Twitter SDK
    add('//platform.twitter.com/widgets.js');

    fjs.parentNode.insertBefore(frag, fjs);
}(document, 'script'));
</script>

<?php /**
<!-- FACEBOOK LIKE BOX -->
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=467671163295082";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

<!-- GOOGLE+ BUTTON -->
<script type="text/javascript">
  (function() {
    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
    po.src = 'https://apis.google.com/js/plusone.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
  })();
</script>

<script type="text/javascript">
  (function() {
    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
    po.src = 'https://apis.google.com/js/plusone.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
  })();
</script>
 **/ ?>

</body>
</html>